{% extends "base.html" %}

{% block content %}

<h1>{{ poll.question }}</h1>

{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}

<form action="/polls/{{ poll.id }}/vote/" method="post">
<table>
{{form.asTable}}
</table>

<input type="submit" value="Vote" />
</form>

{% endblock %}